package com.wrupple.muba.catalogs.client.view.impl;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.Widget;
import com.wrupple.muba.catalogs.client.view.ImportView;

public class CatalogImportViewImpl extends Composite implements
		ImportView {

	private static CatalogImportViewImplUiBinder uiBinder = GWT
			.create(CatalogImportViewImplUiBinder.class);

	interface CatalogImportViewImplUiBinder extends
			UiBinder<Widget, CatalogImportViewImpl> {
	}


	@UiField
	TextArea textArea;

	public CatalogImportViewImpl() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	@Override
	public String getCsv() {
		return textArea.getValue();
	}
	


}
